'use strict';

const Controller = require('egg').Controller;

class indexController extends Controller {
    async alist() {
        const { ctx } = this;
        let res = { code: 1, msg: '数据获取成功' };
        const data = ctx.request.body;
        console.log(data);

        ctx.body = res;
    }


}

module.exports = indexController;
